package com.demo.auth.social.qq;

import com.demo.auth.social.qq.adapt.QQAdapt;
import com.demo.auth.social.qq.connet.QQServiceProvider;
import org.springframework.social.connect.support.OAuth2ConnectionFactory;

/**
 * @author YT
 * @date 2019-07-04
 */
public class QQConectionFactory extends OAuth2ConnectionFactory<QQ> {


    public QQConectionFactory(String providerId, String appId, String appSecret) {
        super(providerId, new QQServiceProvider(appId, appSecret), new QQAdapt());
    }
}
